package com.leave.tools;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

/**
 * 日期/时间处理工具类
 */
public class DateUtil {
    public static String now(){
        LocalDate localDate =LocalDate.now();
        return localDate.format(DateTimeFormatter.ISO_LOCAL_DATE);
    }
    public static  void main(String[]args){
        System.out.println(DateUtil.now());
    }
}
